package Factory;

public class ConditionerFactory extends Conditioner {
    ConditionerFactoryBehavior conditionerFactory;

    ConditionerFactory(ConditionerFactoryBehavior conditionerFactory) {
        this.conditionerFactory = conditionerFactory;
    }

    public void create() {
        Block = conditionerFactory.createBlock();
        Controller = conditionerFactory.createController();
        Panel = conditionerFactory.createPanel();
        Receiver = conditionerFactory.createReceiver();
        Sensor = conditionerFactory.createSensor();

    }
}
